home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1997 January: Mac OS SDK / Dev.CD Jan 97 SDK2.toast / Development Kits (Disc 2) / OpenDoc Development Framework / ODF-Interest Archive / March 96 / Re Re(2) Any tips for Buildin < prev    next >
Encoding:
Internet Message Format  |  1996-12-03  |  2.0 KB  |  [TEXT/ttxt]

  1. Subject:     Re: Re(2): Any tips for Building ODF with CW8 CFM68k?
  2. Sent:        3/26/96 11:12 AM
  3. Received:    3/26/96 10:21 AM
  4. From:        Jim Lloyd, jim@melongem.com
  5. Reply-To:    ODF-Interest@CILabs.ORG
  6. To:          OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
  7.  
  8. At 1:43 AM 3/26/96, Troy Gaul wrote:
  9. >>Actually, I had similar binding problems while trying to get our parts
  10. >>working with CFM68K and never successfully debugged the problem until getting
  11. >>the last release of CFM68K tools from Metrowerks, at which time the problems
  12. >>went away.
  13. >
  14. >Another potential problem (which appears in this way) is that the
  15. >CodeWarrior 8 version of the CFM-68K compiler would not set the "weak"
  16. >import bit correctly for the imports that you are making.
  17. >
  18. >For instance, if you're including the QuickDraw GX Lib for CFM-68K, you
  19. >probably have the "Weak import" option turned on in the popup menu to the
  20. >right of that item in the project window.  This _should_ mean that the
  21. >"QuickDraw GX Enabler" file, which actually contains that CFM-68K shared
  22. >library, is optional.  However, this flag doesn't work with the CW8
  23. >CFM-68K tools, so that shared library will actually be required.  In the
  24. >tests I did with the compiler, installing the shared libraries that were
  25. >needed allowed my part (the Cappuccino Sample part) to work.
  26.  
  27. I too had similar problems, but I'd get the ODWarning saying that the part
  28. couldn't be loaded because a code fragment couldn't be found.  For a while
  29. I worked around the problem by removing all dependencies on the library
  30. and then removing the library from the project.  I got to the point where
  31. I no longer got the ODWarnings, but the part still wouldn't load.  Switching
  32. to the latest Metrowerks tools fixed that problem, though I still don't know
  33. exactly what they did to fix it.
  34.  
  35. Jim Lloyd
  36. ODF Team
  37.  
  38. P.S. Masahiro, please forgive me if my last post sounded harsh, I didn't
  39. mean it that way.  If I come across anything that might help you, I'll be
  40. sure to send it your way.
  41.  
  42.